<html>
<head>
<style>
* { -webkit-user-select:none; }
</style>
</head>
<body>
<div id="description">This tests for a crash when deleting inside an empty list item that is an editable root.</div>
<div><dl><dd id="dd" contenteditable="true" style="-webkit-user-select:text;">Hello</dd></dl></div>

<script>
if (window.testRunner)
    testRunner.dumpAsText();
dd = document.getElementById("dd");
dd.focus();
document.execCommand("SelectAll");
document.execCommand("Delete");
document.execCommand("Delete");
</script>

</body>
</html>
